package com.lm56.web.network.domain;

import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

/**
 * Created by kelvin on 16/10/23.
 */
public class CompanyNetworkContact{
    public static  final int CONTACT_TYPE_FIXED_PHONE = 1;
    public static  final int CONTACT_TYPE_MOBILE_PHONE = 2;
    public static  final int CONTACT_TYPE_QQ = 3;
    public static  final int CONTACT_TYPE_EMAIL = 4;
    public static  final int CONTACT_TYPE_WECHAR = 5;
    public static  final int CONTACT_TYPE_WEIBO = 6;

    private Long id;
    private Long networkId;
    private String contactName;
    private Integer contactType;
    @NotBlank
    private String contactAccount;
    private Integer seqNo;
    private Date lastUpdateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNetworkId() {
        return networkId;
    }

    public void setNetworkId(Long networkId) {
        this.networkId = networkId;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public Integer getContactType() {
        return contactType;
    }

    public void setContactType(Integer contactType) {
        this.contactType = contactType;
    }

    public String getContactAccount() {
        return contactAccount;
    }

    public void setContactAccount(String contactAccount) {
        this.contactAccount = contactAccount;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
